<include file="Public:header" title="编辑类别 - 组别管理 - 组别管理" />
<div class="edit">
<h2>编辑类别</h2>
<div id="editTips" class="tip">添加提示</div>
<form method="post" id="editCate" onsubmit="return post_form('<{:U('doEdit?type=4&id='.$id)}>',this,'editTips');" style="height:40px;">
<div style="margin-bottom:10px;"><label>类别ID：&nbsp;<{$id}></label></div>
<div style="margin-bottom:10px;"><label>所属资源：
<select name="res" id="resSelector" style="width:198px;"  onchange="return changeRes(this);">   
	<option value="0"<?php if($res==0) echo ' selected'; ?>>教辅</option>    
	<option value="1"<?php if($res==1) echo ' selected'; ?>>视频</option>    
	<option value="2"<?php if($res==2) echo ' selected'; ?>>测验</option>    
</select>
</label></div>
<div style="margin-bottom:10px;"><label for="editCateName">类别名：</label><input id="editCateName" type="text" name="cname" placeholder="组别名" class="text" value="<{$cname}>" />
</div>
<div><input type="submit" value="保存" class="btn"  style="width:260px;" /></div></div>
</form>
</div>
<include file="Public:footer" />